projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcff529
)
testtitlebar: Add custom content
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 17 Dec 2013 01:35:23 +0000
(20:35 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 17 Dec 2013 01:35:23 +0000
(20:35 -0500)
This will help in tracking down size allocation issues
in GtkHeaderBar.
tests/testtitlebar.c
patch
|
blob
|
history
diff --git
a/tests/testtitlebar.c
b/tests/testtitlebar.c
index 1d59bbafc57036f53eb58427fe4d5fe544fbd5e0..f5d032d74c57f66e8e4b9428ecc96d556876d2dd 100644
(file)
--- a/
tests/testtitlebar.c
+++ b/
tests/testtitlebar.c
@@
-54,6
+54,8
@@
activate (GApplication *gapp)
gtk_application_set_app_menu (app, menu);
header = gtk_header_bar_new ();
+ gtk_header_bar_pack_start (GTK_HEADER_BAR (header), gtk_button_new_with_label ("Start"));
+ gtk_header_bar_pack_end (GTK_HEADER_BAR (header), gtk_button_new_with_label ("End"));
gtk_window_set_titlebar (GTK_WINDOW (window), header);
provider = gtk_css_provider_new ();